package com.ks.member.service;

import com.ks.core.base.OperationContext;
import com.ks.core.dto.OperateBase;
import com.ks.core.dto.SearchCriteriaBase;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.ks.core.dto.SearchCriteriaBase;
import com.ks.member.entity.MemberLevel;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 会员-会员等级表 服务类
 * </p>
 *
 * @author kingdee123
 * @since 2020-12-17
 */
public interface IMemberLevelService extends IService<MemberLevel> {

    int addMemberLevel(OperationContext context,MemberLevel memberLevel);

    int deleteMemberLevel(OperationContext context, List<Integer> id);

    int updateMemberLevel(OperationContext context,MemberLevel memberLevel);

    Map<String, Object> selectMemberLever(OperationContext context,SearchCriteriaBase searchCriteriaBase);

    Map<String, Object> selectAdminMemberLever(OperationContext context,SearchCriteriaBase searchCriteriaBase);
}
